package com.shinewind.task.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shinewind.pojo.entity.Rate;
import com.shinewind.pojo.entity.Rating;

import java.util.List;

public interface IRateService extends IService<Rate> {
    public Long getCountAndRateBymId(String mId);
    public Double getSumAndRateBymId(String mId);
    public Long getCountAndRateByuId(String uId);
    public Double getRateByuId(String uId,String mId);
    public List<Rating> getAllRates();
}
